magento 2 colllection set select

100

$collection->getSelect()
            ->reset(\Zend_Db_Select::COLUMNS)
            ->columns(['id']);

Comments

Submit
0 Comments